package com.itgaoshu.service.impl;

import com.itgaoshu.bean.Drugdictionary;
import com.itgaoshu.mapper.DrugdictionaryMapper;
import com.itgaoshu.service.DrugdictionaryService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * \* @author: 李豪杰
 * \* Date: 2021/3/21
 * \* Time: 14:01
 * \* Description:
 * \
 */
@Service
@Transactional
public class DrugdirctionaryServiceImpl implements DrugdictionaryService {
    @Resource
    private DrugdictionaryMapper drugdictionaryMapper;
    @Override
    public List<Drugdictionary> selectAllDrugs(Drugdictionary drugdictionary) {//查询药品字典
        return drugdictionaryMapper.selectAllDrug(drugdictionary);
    }
}
